<!--
  Generated template for the News page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-toolbar color="primary">
    <ion-title>消息</ion-title>
  </ion-toolbar>

</ion-header>


<ion-content>
  <ion-list *ngFor="let item of chatList">
    <ion-item (click)="toChatView(item.idTargetUser)">
      <ion-avatar item-left>
        <img src="assets/img/avatar-ts-buzz.png">
      </ion-avatar>
      <h2>{{item.idTargetUser.userName}}</h2>
      <p>Reach for the sky!</p>
    </ion-item>
    <ion-item>
      <ion-avatar item-left>
        <img src="assets/img/n_xdhy.png">
      </ion-avatar>
      <h2>系统消息</h2>
      <p>新的好友推荐</p>
    </ion-item>
  </ion-list>
</ion-content>
